package com.lb.spring;

import com.lb.spring.demo.action.MyAction;
import com.lb.spring.framework.context.LbApplicationContext;

/**
 * @Title: Test
 * @Description: Test
 * @Author lb
 * @Date 2019/04/17  11:35
 */
public class Test {
    public static void main(String[] args) {
        LbApplicationContext lbApplicationContext = new LbApplicationContext("classpath:application.properties");
        MyAction myAction = null;
        try {
            myAction = (MyAction)lbApplicationContext.getBean("myAction");
        } catch (Exception e) {
            e.printStackTrace();
        }
        System.out.println(myAction);
    }
}
